<?php

use Illuminate\Database\Seeder;

class OrdersTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('orders')->delete();
        
        \DB::table('orders')->insert(array (
            0 => 
            array (
                'id' => 1,
                'shop_id' => 1,
                'user_id' => 33,
                'order_num' => '150363142034827649',
                'wx_transaction_id' => NULL,
                'amount' => 1,
                'total' => 4.5,
                'state' => 0,
                'is_active' => 0,
                'pay_time' => NULL,
                'created_at' => '2017-08-25 11:23:40',
                'updated_at' => '2017-08-25 11:23:40',
            ),
            1 => 
            array (
                'id' => 2,
                'shop_id' => 1,
                'user_id' => 36,
                'order_num' => '150363149035360655',
                'wx_transaction_id' => NULL,
                'amount' => 1,
                'total' => 4.2,
                'state' => 0,
                'is_active' => 0,
                'pay_time' => NULL,
                'created_at' => '2017-08-25 11:24:50',
                'updated_at' => '2017-08-25 11:24:50',
            ),
            2 => 
            array (
                'id' => 3,
                'shop_id' => 1,
                'user_id' => 38,
                'order_num' => '150363173572494260',
                'wx_transaction_id' => '4002462001201708258135060976',
                'amount' => 1,
                'total' => 4.2,
                'state' => 1,
                'is_active' => 0,
                'pay_time' => '2017-08-25 11:31:33',
                'created_at' => '2017-08-25 11:28:55',
                'updated_at' => '2017-08-25 11:31:33',
            ),
            3 => 
            array (
                'id' => 4,
                'shop_id' => 1,
                'user_id' => 32,
                'order_num' => '150364594373688601',
                'wx_transaction_id' => '4006902001201708258173624235',
                'amount' => 1,
                'total' => 4.5,
                'state' => 1,
                'is_active' => 0,
                'pay_time' => '2017-08-25 15:26:03',
                'created_at' => '2017-08-25 15:25:43',
                'updated_at' => '2017-08-25 15:26:03',
            ),
            4 => 
            array (
                'id' => 5,
                'shop_id' => 1,
                'user_id' => 24,
                'order_num' => '150371620217330570',
                'wx_transaction_id' => '4003702001201708268370522277',
                'amount' => 1,
                'total' => 0.01,
                'state' => 1,
                'is_active' => 0,
                'pay_time' => '2017-08-26 16:08:49',
                'created_at' => '2017-08-26 10:56:42',
                'updated_at' => '2017-08-26 16:08:50',
            ),
        ));
        
        
    }
}